package org.devocean.groupbuying.dao;

import java.util.List;

import org.devocean.groupbuying.domain.Promotion;

public interface PromotionDAO {

	List<Promotion> findAllPromotions();
	
	List<Promotion> findPromotionsByProduct(Integer productID);

	long countPromotion();

	Promotion findPromotionById(Integer promotionID);

	void deletePromotion(Integer promotionID);

	Promotion savePromotion(Promotion promotion);

	Promotion updatePromotion(Promotion promotion);

	List<Promotion> getPromotionsByPlan(Integer promotionID);

}
